<?php
/**
 * @package                Joomla.Site
 * @subpackage    Templates.beez_20
 * @copyright        Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license                GNU General Public License version 2 or later; see LICENSE.txt
 */
// No direct access.
defined('_JEXEC') or die;
jimport('joomla.filesystem.file');
JHtml::_('behavior.framework', true);

$app = JFactory::getApplication();
$doc = JFactory::getDocument();
$doc->addStyleSheet($this->baseurl . '/templates/system/css/system.css');

$doc->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/form.css');
$doc->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/mystyle.css');
$doc->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/dropdown.css');

$files = JHtml::_('stylesheet', 'templates/' . $this->template . '/css/general.css', null, false, true);
if ($files):
    if (!is_array($files)):
        $files = array($files);
    endif;
    foreach ($files as $file):
        $doc->addStyleSheet($file);
    endforeach;
endif;

$doc->addScript($this->baseurl . '/templates/' . $this->template . '/javascript/loopedslider.min.js', 'text/javascript');
$doc->addScript($this->baseurl . '/templates/' . $this->template . '/javascript/jquery/jquery.js', 'text/javascript');
$doc->addScript($this->baseurl . '/templates/' . $this->template . '/javascript/tabber-minimized.js', 'text/javascript');
$doc->addScript($this->baseurl . '/templates/' . $this->template . '/javascript/dropdown.js', 'text/javascript');
$doc->addScript($this->baseurl . '/templates/' . $this->template . '/javascript/jcarousel.js', 'text/javascript');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>"
      lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
    <head>
        <jdoc:include type="head" />

        <link href="templates/vast_ac/images/favicon.ico" rel="SHORTCUT ICON"/>
    </head>

    <body>

        <div id="container">
            <div id="header">
                <div class="wrapper">
                    <div id="logo">
                        <a>
                            <img src="templates/vast_ac/images/logonew.png" alt="Viện khoa học và công nghệ"/>
                        </a>
                    </div>
                    <!-- end #logo -->
                    <div id="callInfo">
                        <span>
                            <a><img src="templates/vast_ac/images/vi.png" alt="Tiếng Việt"/></a>
                            <a><img src="templates/vast_ac/images/en.png" alt="Tiếng Anh"/></a>
                        </span>
                    </div>
                    <div class="cleaner cleaner-head">&nbsp;</div>

                    <div id="navigation">
                        <!-- defining top menu -->
                        <div id="menu" class="dropdown">
                            <jdoc:include type="modules" name="jvast-position-0" />
                        </div>
                    </div>
                    <div class="cleaner">&nbsp;</div>
                </div>
                <!-- end .wrapper -->
            </div>
            <!-- end #header -->
            <div class="wrapper">
                <div class="frameShadow frameTop">
                    <img src="templates/vast_ac/images/back_frame_top.png" height="10" width="980" alt=""/>
                </div>
                <div id="frame">
                    <div id="content">
                        <jdoc:include type="message" />
                        <jdoc:include type="component" />                        
                        <!-- end #main -->
                        <div id="sidebar">
                            <div class="widget">
                                <div id="navSide">
                                    <?php if ($this->countModules('jvast-position-1')): ?>
                                    <jdoc:include type="modules" name="jvast-position-1" />
                                    <?php endif; ?>
                                </div>
                                <!-- end #navSide -->
                                <div class="cleaner">&nbsp;</div>
                            </div>
                            <?php if ($this->countModules('jvast-position-1')): ?>
                            <jdoc:include type="modules" name="jvast-position-2" />
                            <div class="cleaner">&nbsp;</div>
                            <?php endif; ?>
                        </div>
                        <!-- end #sidebar -->

                        <div class="cleaner">&nbsp;</div>
                    </div>
                    <!-- end #content -->


                </div>
                <!-- end #frame -->


                <div class="frameShadow frameBottom">&nbsp;</div>

                <div id="footer">

                    <div class="column">
                        <div class="widget">
                            <div class="textwidget">
                                <p>
                                    Địa chỉ: 18 Hoàng Quốc Việt, Cầu Giấy, Hà Nội. Email: thongtin@vast.vn<br/>
                                </p>
                            </div>
                            <div class="cleaner">&nbsp;</div>
                        </div>
                        <div class="cleaner">&nbsp;</div>
                    </div>
                    <!-- end .column -->

                    <div class="column">
                        <div class="widget">
                            <h3>Pages</h3>
                            <ul>
                                <li>
                                    <a href="http://www.vap.ac.vn/">Thư viện số</a>
                                </li>
                                <li>
                                    <a href="http://www.chinhphu.vn/portal/page/portal/chinhphu/trangchu">Cổng TTĐT chính phủ</a>
                                </li>
                                <li>
                                    <a href="http://www.mpi.gov.vn/portal/page/portal/bkhdt">Bộ kế hoạch đầu tư</a>
                                </li>
                            </ul>
                            <div class="cleaner">&nbsp;</div>
                        </div>
                        <div class="cleaner">&nbsp;</div>
                    </div>
                    <!-- end .column -->

                    <div class="column column-last">
                        <p class="copy">
                            Bản quyền thuộc về Viện Khoa học và Công nghệ Việt Nam.<br/>
                            Khi phát hành lại thông tin trên Website, cần ghi rõ nguồn: " Viện Khoa học và Công nghệ Việt Nam".
                        </p>

                        <div class="cleaner">&nbsp;</div>
                    </div>
                    <!-- end .column -->

                    <div class="cleaner">&nbsp;</div>

                </div>
                <!-- end #footer -->
            </div>

            <!-- end .wrapper -->

        </div>
        <!-- end #container -->
    </body>
</html>
